package weixin

import "github.com/astaxie/beego/logs"

type Address struct {
	where string
	num   int
}

type Test struct {
	Name    string
	Address Address
}

func (this *Test) Refresh() {
	address := Address{"here", 22}
	this.Address = address
}

func main() {
	test := Test{}
	test.Name = "test"
	test.Refresh()
	logs.Info("%+v", test)
}
